﻿using DDDNorthWind.Core.Message;
using DDDNorthWind.Core.MessageHandler;

namespace DDDNorthWind.Core.Bus
{
    public interface IBus: IMessageSender, IBusToFluentBus
    {
        IBus RegisterHandler<TMessage>(IMessageHandler<TMessage> messageHandler) where TMessage : IMessage;
    }
}